package com.jetinno.simple;

import com.jetinno.utils.ScreenUtil;

/**
 * Created by zhangyuncai.
 * Date: 2023/2/19
 * ///横竖屏弹框宽高比例
 */
public class DialogPx {
    public static double getWidthPercent() {
        if (ScreenUtil.isLand()) {
            return 0.7;
        } else return 0.9;
    }
    public static double getHeightPercent() {
        if (ScreenUtil.isLand()) {
            return 0.9;
        } else return 0.7;
    }
}
